package com.xyq.system.domain.user.dto;

import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class UserStatusDTO {
    @NotNull(message = "用户id为空")
    private Long userId ;
    @Min(value = 0 , message = "状态不合法")
    @Max(value = 1 , message = "状态不合法")
    private Integer status   ;

}
